import openpyxl


class getexceldata:


    def get_addata(self,num):
        wb = openpyxl.load_workbook(filename=r"F:\PythonFile\Define\hello\addtest.xlsx")
        sheet = wb[wb.sheetnames[num]]
        data = []
        for row in sheet.iter_rows():
            da = []
            for cell in row:
                da.append(cell.value)
            data.append(da)
        return data









